<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Touch
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: Edit.php 2011-04-26 11:18:13 mirlan $
 * @author     Mirlan
 */

/**
 * @category   Application_Extensions
 * @package    Touch
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 */

class Touch_Form_Classified_Edit extends Touch_Form_Classified_Create {
	public $_error = array ();
	protected $_item;
	
	public function getItem() {
		return $this->_item;
	}
	
	public function setItem(Core_Model_Item_Abstract $item) {
		$this->_item = $item;
		return $this;
	}
	
	public function init() {
		parent::init ();
		
		$this->setTitle ( 'Edit Classified Listing' )->setDescription ( 'Edit your listing below, then click \"Save Changes\" to save your listing.' );
		
		$this->execute->setLabel ( 'Save Changes' );
	}
}